#include "StringUtility.h"
#include <windows.h>

bool IsUTF8(const char* pszText)
{
	MultiByteToWideChar( CP_UTF8,MB_ERR_INVALID_CHARS,pszText,-1,NULL,0 );
	if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
	{
		return false;
	}
	return true;
}